package com.ygsoft.tianlu_mall.service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface CollectService {

    boolean checkCollectedGoodsOnDB(int goods_id);

    boolean checkCollectedGoods(int user_id,int goods_id);

    void collectgoods(int user_id,int goods_id);

    void deleteOneGoods(int user_id, int goods_id);

    List<Map<String,Object>> selectCollectGoods(int user_id);

    int getCollectGoodsCount(int user_id);



    boolean checkCollectedShopOnDB(int shop_id);

    boolean checkCollectedShop(int user_id, int shop_id);

    void collectshop(int user_id, int shop_id);

    void deleteOneShop(int user_id, int shop_id);

    List<Map<String, Object>> selectCollectShop(int user_id);

    List<Map<String, Object>> collectShopGood(int user_id);

    int getCollectShopCount(int user_id);


    List getGoodsIdByUserId(int user_id);
}
